/*
 * @Description:
 * @version:
 * @Author: 潘骏杰
 * @Date: 2021-11-22 16:23:06
 * @LastEditors: 潘骏杰
 * @LastEditTime: 2021-11-30 16:58:12
 */

import request from '@/utils/requestcode'
import qs from 'qs'

export function get(data) {
  return request({
    url: '',
    method: 'get',
    params: data
  })
}

export function post(data) {
  return request({
    url: '',
    method: 'post',
    data: qs.stringify(data)
  })
}

// 时效密匙
export function postObtain(params) {
  return request({
    url: '/ap/jwt/obtain',
    method: 'post',
    data: params
  })
}
